import layout from '@/layout'
export default {
  // 路由信息
  path: '/department',
  component: layout, // 一级路由
  name: 'department', // 可以用来跳转 也可以标记路由
  meta: {
    // 路由元信息 存储数据的
    icon: 'sbgl', // 图标
    title: '设备管理' // 标题
  },
  children: [
    {
      path: 'department1',
      name: 'Department1',
      component: () => import('@/views/department/router/department1'),
      meta: { title: '区域管理' }
    },
    {
      path: 'department2',
      name: 'Department2',
      component: () => import('@/views/department/router/department2'),
      meta: { title: '点位管理' }
    },
    {
      path: 'department',
      name: 'Department3',
      component: () => import('@/views/department/router/department3'),
      meta: { title: '合作商管理' }
    }
  ]

}
